package net.dgg.dggcloud.service.jrcrm.entity.log;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "sys_modify_auth_record")
public class SysModifyAuthRecord implements Serializable {
	/**
	 * 序列号
	 */
	private static final long serialVersionUID = 1659962113991750213L;

	/**
	 * 数据库表名
	 */
	public static final String TABLE_NAME = "sys_modify_auth_record";

	/**
	 * 主键
	 */
	@Id
	@Column(name = "id")
	private Long id;

	/**
	 * 操作人姓名
	 */
	@Column(name = "user_name")
	private String userName;

	/**
	 * 操作人工号
	 */
	@Column(name = "user_loginname")
	private String userLoginname;

	/**
	 * 操作时间
	 */
	@Column(name = "opreate_time")
	private Date opreateTime;

	/**
	 * 操作
	 */
	@Column(name = "opreate")
	private String opreate;

	/**
	 * ip地址
	 */
	@Column(name = "ip")
	private String ip;

	/**
	 * 被操作人
	 */
	@Column(name = "vuser_name")
	private String vuserName;

	/**
	 * 被操作人工号
	 */
	@Column(name = "vuser_loginname")
	private String vuserLoginname;

	/**
	 * 被操作人工号
	 */
	@Column(name = "opreate_type")
	private String opreateType;

	/**
	 * 被操作人工号
	 */
	@Column(name = "modify_content")
	private String modifyContent;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName == null ? null : userName.trim();
	}

	public String getUserLoginname() {
		return userLoginname;
	}

	public void setUserLoginname(String userLoginname) {
		this.userLoginname = userLoginname == null ? null : userLoginname.trim();
	}

	public Date getOpreateTime() {
		return opreateTime;
	}

	public void setOpreateTime(Date opreateTime) {
		this.opreateTime = opreateTime;
	}

	public String getOpreate() {
		return opreate;
	}

	public void setOpreate(String opreate) {
		this.opreate = opreate == null ? null : opreate.trim();
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip == null ? null : ip.trim();
	}

	public String getVuserName() {
		return vuserName;
	}

	public void setVuserName(String vuserName) {
		this.vuserName = vuserName == null ? null : vuserName.trim();
	}

	public String getVuserLoginname() {
		return vuserLoginname;
	}

	public void setVuserLoginname(String vuserLoginname) {
		this.vuserLoginname = vuserLoginname == null ? null : vuserLoginname.trim();
	}

	public String getOpreateType() {
		return opreateType;
	}

	public void setOpreateType(String opreateType) {
		this.opreateType = opreateType == null ? null : opreateType.trim();
	}

	public String getModifyContent() {
		return modifyContent;
	}

	public void setModifyContent(String modifyContent) {
		this.modifyContent = modifyContent == null ? null : modifyContent.trim();
	}
}